package org.simple;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * springboot启动类
 *
 * @author yh_liu
 * @version v1.0
 * @since 2022-7-7
 */
@EnableAsync
@MapperScan({"org.simple.*.mapper","com.cy.mapper"})
@SpringBootApplication(scanBasePackages = {"org.simple","com.cy"})
public class FrSimpleApp {
    /**
     * springBoot入口方法
     *
     * @param args 参数
     */
    public static void main(String[] args) {
        SpringApplication.run(FrSimpleApp.class, args);
        System.out.println("" +
                "___       ___              ___                           __   __             __           __  ___     ___                \n" +
                " |  |__| |__      /\\  |  |  |  |  |  |\\/| |\\ |     |\\/| /  \\ /  \\ |\\ |    | /__`    |\\ | /  \\  |     |__  |  | |    |    \n" +
                " |  |  | |___    /~~\\ \\__/  |  \\__/  |  | | \\|     |  | \\__/ \\__/ | \\|    | .__/    | \\| \\__/  |     |    \\__/ |___ |___ \n" +
                "\n" +
                "\n" +
                "\n" +
                "___       ___     __   __        ___  __        __      __   __             __        ___  __   __  \n" +
                " |  |__| |__     |__) /  \\ |  | |__  |__)    | /__`    |__) /  \\ |  | |\\ | |  \\ |    |__  /__` /__` \n" +
                " |  |  | |___    |    \\__/ |/\\| |___ |  \\    | .__/    |__) \\__/ \\__/ | \\| |__/ |___ |___ .__/ .__/ \n");
    }
}
